home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / DISKSCAN.DOC < prev    next >
Text File  |  1991-04-30  |  3KB  |  59 lines

  1.  
  2. DISKSCAN                               Charles Petzold
  3.  
  4. Purpose:  Locates and identifies disk errors on hard and floppy disks, Bernoulli
  5.           Boxes or other similar storage devices.
  6.  
  7. Format:   DISKSCAN [d:]
  8.  
  9. Remarks:  The DOS "Abort, Retry, Ignore?" and the CHKDSK "x lost clusters found"
  10.           messages tend to appear after it is too late to save possibly
  11.           valuable data.  Regular use of DISKSCAN will show when a hard disk is
  12.           beginning to go bad--for example, when a specific sector or two in an
  13.           as-yet unallocated cluster has become unusable since the disk was
  14.           formatted.  (DOS marks and does not use bad clusters it finds while
  15.           formatting.  DISKSCAN reports these "Flagged as bad.")
  16.  
  17.           DISKSCAN error messages include:
  18.  
  19.           CRC Error: Data checksum as recalculated during read does not agree
  20.                with checksum stored on disk when written.
  21.           Sector Not Found: Sector boundary created during formatting is no
  22.                longer readable.
  23.           File Alloc. Table and Can't Read FAT: Very serious error:  Back up
  24.                what you can with COPY and reformat disk before trying to put
  25.                files back on it.
  26.           Boot Sector:  If this sector of a hard disk goes bad, put a DOS disk
  27.                in drive A: and issue SYS C: command.  Then COPY COMMAND.COM C:.
  28.                This will put a fresh copy of the system files on drive C:.  If
  29.                this does not work, boot up again from the external DOS floppy
  30.                disk, back up all hard disk files, and reformat the hard disk.
  31.           Root Directory:  Errors here could keep you from later being able to
  32.                load a file or save updates to it.  CHKDSK will probably indicate
  33.                unallocated cluster chains or cross-linked files, and you may
  34.                have to use CHKDSK/F to save what you can.
  35.           Unallocated:  As yet, not serious, as the bad sector is not being
  36.                used.  When it is, though, and you try to save a file with this
  37.                sector, you'll get an "Abort, Retry, Ignore" message.  Select
  38.                "Ignore" to save what you can, then REName the file and save
  39.                again under the new name.  Use RECOVER filename with the original
  40.                file; this will cause DOS to flag its cluster(s) as bad.
  41.                (DISKSCAN does not enter the bad cluster numbers in the File
  42.                Allocation Table; FORMAT and RECOVER do.)  Then delete the
  43.                original (RECOVERed) filename and check the second version you
  44.                saved (under the new name) to see how much (if any) of it is
  45.                usable.
  46.           Used by file: While DISKSCAN reports the bad sector number, it does
  47.                not do a cross- check to see which of your files is using that
  48.                sector.  You may be able to identify this by issuing the command
  49.  
  50.                     SWEEP COPY *.* NUL
  51.  
  52.                When COPY encounters the file with the bad sector it will report
  53.                "Abort, Retry, Ignore."  Note the bad file and press "I" to
  54.                continue.
  55.  
  56.           Read Fault and General Failure:  The sectors so designated are bad,
  57.                but the errors reported don't fall into any of the above
  58.                categories.
  59.